package com.pengtu.gsj.entity.zxgc;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.springframework.context.annotation.Lazy;

import com.pengtu.gsj.entity.base.IdEntity;

@Entity
@Table(name = "T_YH_PROJECTDATA")
public class ProjectData extends IdEntity {

	/**
	 * serialVersionUID:TODO
	 * 
	 * @since 1.0.0
	 */

	private static final long serialVersionUID = 8640275844580642077L;
	private String orgId; // 辖区局
	private double data0; // 记录数据内容
	private double data1;
	private double data2;
	private double data3;
	private double data4;
	private double data5;
	private double data6;
	private double data7;
	private double data8;
	private double data9;
	private String remark; // 备注
	private SpecialProject specialProject;
	private String dataJson; //专项数据json形式
	private String dataContent; //记录数据

	@Column(name = "ORGID")
	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	@Column(name = "DATA0")
	public double getData0() {
		return data0;
	}

	public void setData0(double data0) {
		this.data0 = data0;
	}

	@Column(name = "DATA1")
	public double getData1() {
		return data1;
	}

	public void setData1(double data1) {
		this.data1 = data1;
	}

	@Column(name = "DATA2")
	public double getData2() {
		return data2;
	}

	public void setData2(double data2) {
		this.data2 = data2;
	}

	@Column(name = "DATA3")
	public double getData3() {
		return data3;
	}

	public void setData3(double data3) {
		this.data3 = data3;
	}

	@Column(name = "DATA4")
	public double getData4() {
		return data4;
	}

	public void setData4(double data4) {
		this.data4 = data4;
	}

	@Column(name = "DATA5")
	public double getData5() {
		return data5;
	}

	public void setData5(double data5) {
		this.data5 = data5;
	}

	@Column(name = "DATA6")
	public double getData6() {
		return data6;
	}

	public void setData6(double data6) {
		this.data6 = data6;
	}

	@Column(name = "DATA7")
	public double getData7() {
		return data7;
	}

	public void setData7(double data7) {
		this.data7 = data7;
	}

	@Column(name = "DATA8")
	public double getData8() {
		return data8;
	}

	public void setData8(double data8) {
		this.data8 = data8;
	}

	@Column(name = "DATA9")
	public double getData9() {
		return data9;
	}

	public void setData9(double data9) {
		this.data9 = data9;
	}

	@Column(name = "REMARK")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@ManyToOne(cascade= {CascadeType.REFRESH,CascadeType.MERGE})
	@JoinColumn(name="PROJID")
	@Lazy(true)
	public SpecialProject getSpecialProject() {
		return specialProject;
	}

	public void setSpecialProject(SpecialProject specialProject) {
		this.specialProject = specialProject;
	}

	@Column(name = "DATAJSON")
	public String getDataJson() {
		return dataJson;
	}

	public void setDataJson(String dataJson) {
		this.dataJson = dataJson;
	}

	@Column(name = "DATACONTENT")
	public String getDataContent() {
		return dataContent;
	}

	public void setDataContent(String dataContent) {
		this.dataContent = dataContent;
	}

	
	
}
